package com.lframework.xingyun.basedata.service.make;

import com.lframework.starter.web.core.service.BaseMpService;
import com.lframework.starter.web.core.components.resp.PageResult;
import com.lframework.xingyun.basedata.entity.MakeMethod;
import com.lframework.xingyun.basedata.vo.make.CreateMakeMethodVo;
import com.lframework.xingyun.basedata.vo.make.QueryMakeMethodVo;
import com.lframework.xingyun.basedata.vo.make.UpdateMakeMethodVo;

import java.util.List;

/**
 * 制作方法表 Service
 */
public interface MakeMethodService extends BaseMpService<MakeMethod> {

    /**
     * 查询列表
     * @return
     */
    PageResult<MakeMethod> query(Integer pageIndex, Integer pageSize, QueryMakeMethodVo vo);

    /**
     * 查询列表
     * @param vo
     * @return
     */
    List<MakeMethod> query(QueryMakeMethodVo vo);

    /**
     * 根据ID查询
     * @param id
     * @return
     */
    MakeMethod findById(String id);

    /**
     * 创建
     * @param vo
     * @return
     */
    String create(CreateMakeMethodVo vo);

    /**
     * 修改
     * @param vo
     */
    void update(UpdateMakeMethodVo vo);

}

